import request from '@/utils/request'

// 查询移库单明细列表
export function listMoveInfo(query) {
  return request({
    url: '/system/moveInfo/list',
    method: 'get',
    params: query
  })
}

// 查询移库单明细详细
export function getMoveInfo(id) {
  return request({
    url: '/system/moveInfo/' + id,
    method: 'get'
  })
}

// 新增移库单明细
export function addMoveInfo(data) {
  return request({
    url: '/system/moveInfo',
    method: 'post',
    data: data
  })
}

// 修改移库单明细
export function updateMoveInfo(data) {
  return request({
    url: '/system/moveInfo',
    method: 'put',
    data: data
  })
}

// 删除移库单明细
export function delMoveInfo(id) {
  return request({
    url: '/system/moveInfo/' + id,
    method: 'delete'
  })
}
